<script>
    var testingIndex = 0;

    if (window.dataTableResources && window.dataTableResources.options) {
        window.dataTableResources.options.infoCallback = function (settings, start, end, max, total) {
            testingIndex++;
            return 'Showing ' + start + ' to ' + end + ' of ' + total + ' entries ' +
                '(filtered from ' + max + ' total entries) ' +
                '<span class="testing-index">' + testingIndex + '</span>';
        };
    }
</script>
